import * as React from 'react';

import "./Boke-Preview.scss";

class BokePreview extends React.Component <any,any>{
  constructor(prop:any){
    super(prop);
    this.state = {
      isPreview:false
    }
  } 

  public render() {
    const form = this.props.form;
   
    return (
      <div className="_boke_preview">
          <div className="title">
            {form.title}
          </div>
          <div className="summary">
            {form.summary}
          </div>
          <div className="content">
            <div dangerouslySetInnerHTML={{__html: form.content}} />
          </div>
      </div>
    );
  }
}

export default BokePreview;
